package com.jcxh.sg_exam.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jcxh.sg_exam.pojo.KaochangUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jcxh.sg_exam.pojo.vo.NewShicaoVo;
import com.jcxh.sg_exam.pojo.vo.ShicaoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lenovo
 * @description 针对表【kaochang_user】的数据库操作Mapper
 * @createDate 2024-08-28 10:31:20
 * @Entity com.jcxh.sg_exam.pojo.KaochangUser
 */
@Mapper
public interface KaochangUserMapper extends BaseMapper<KaochangUser> {

    void removeByUserId(@Param("ids") List<Integer> ids);

    IPage<ShicaoVo> getShicaoInfo(IPage<ShicaoVo> shicaoVoIPage,
                                  @Param("name") String name,
                                  @Param("workUnit") String workUnit,
                                  @Param("idNumber") String idNumber);

    IPage<NewShicaoVo> getNewShicaoInfo(IPage<NewShicaoVo> shicaoVoIPage,
                                        @Param("name") String name,
                                        @Param("workUnit") String workUnit,
                                        @Param("idNumber") String idNumber,
                                        @Param("type") String type);
}




